//
//  ATMCoreSplashView.h
//  ATMCore
//
//  Created by admin  on 2017/6/21.
//  Copyright © 2017年 admin . All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    LogoAdType = 0,//带logo的广告
    FullScreenAdType = 1,//全屏的广告
}AdType;

typedef void (^LBClick) (NSInteger tag);

@interface ATMCoreSplashView : UIView

@property (strong, nonatomic) UIImageView *aDImgView;
@property (strong, nonatomic) UIWindow *window;
@property (assign, nonatomic) NSInteger adTime;
///倒计时总时长,默认6秒
@property (strong, nonatomic) UIButton *skipBtn;
///本地图片名字
@property (strong, nonatomic) NSString *localAdImgName;
///网络图片URL
@property (strong, nonatomic) NSString *imgUrl;
@property (nonatomic, copy)LBClick clickBlock;

/* window 当前的window
 *
 *  adType 广告类型
 */
- (instancetype)initWithWindow:(UIWindow *)window adType:(NSInteger)adType;

@end
